NXP Semiconductors /LPC43xx /ADCHS /LAST_SAMPLE[2]

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as LAST_SAMPLE[2]

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (DONE)DONE 0 (OVERRUN)OVERRUN 0THCMP_RANGE 0THCMP_CROSS 0SAMPLE0RESERVED 0RESERVED

Description

Contains last converted sample of input M [M=0…5) and result of window comparator.

Fields

DONE

This bit is set to 1 when an A/D conversion on this channel completes. This bit is cleared whenever this register is read.

OVERRUN

This bit will be set to a 1 if a new conversion on this channel completes and overwrites the previous contents of the RESULT field before it has been read - i.e. while the DONE bit is set. This bit is cleared, along with the DONE bit, whenever this register is read. This bit (in any of the registers) will cause an overrun interrupt request to be asserted if the overrun interrupt is enabled.

THCMP_RANGE

Threshold Range Comparison result 00: In Range 01: Below Range 10: Above Range 11: Reserved

THCMP_CROSS

Threshold Crossing Comparison result 00: No Threshold Crossing detected 01: Downward Threshold Crossing detected 10: Upward Threshold Crossing detected 11: Reserved

SAMPLE

12-Bit value of last converted sample for this channel

RESERVED

Reserved

RESERVED

Reserved

Links

()